<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<head profile="http://gmpg.org/xfn/11">
  <title><%= request.getParameter("title") %></title>
  <meta name="author" content="morgan.liao" />
  
  <style type="text/css">
    @import "css/style.css";
  </style>

<s:if test="%{#session.color==null}">
  <style type="text/css">@import "css/color-green.css";</style>
</s:if>
<s:elseif test="%{#session.color=='green'}">
  <style type="text/css">@import "css/color-green.css";</style>
</s:elseif>
<s:elseif test="%{#session.color=='blue'}">
  <style type="text/css">@import "css/color-blue.css";</style>
</s:elseif>
<s:elseif test="%{#session.color=='red'}">
  <style type="text/css">@import "css/color-red.css";</style>
</s:elseif>
<s:else>
  <style type="text/css">@import "css/color-gray.css";</style>
</s:else>

  <script type="text/javascript" src="js/jquery.js"></script>

</head>